package com.joker.orange.domain.bo;

import com.joker.common.core.domain.BaseEntity;
import com.joker.common.core.validate.AddGroup;
import com.joker.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 钻石充值业务对象 t_diamond_recharge
 *
 * @author Joker
 * @date 2024-06-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DiamondRechargeBo extends BaseEntity {

    /**
     * 唯一标识
     */
    @NotNull(message = "唯一标识不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 钻石数值
     */
    @NotBlank(message = "钻石数值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String rechargeValue;

    /**
     * 充值金额
     */
    @NotBlank(message = "充值金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private String rechargeAmount;

    /**
     * 赠送数值
     */
    @NotBlank(message = "赠送数值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String giftValue;

    /**
     * 备注
     */
    private String remark;


}
